/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.io.Serializable;
import javax.persistence.Entity;
import type.Month;

/**
 *
 * @author wei
 */
@Entity(name = "MonthlyRevenue")
public class MonthlyRevenueEntity extends DataObjectEntity implements Serializable{
    
    int yearOfCentury;
    Month monthOfYear;
    double revenue;
    double nutriNutsRevenue;
    double nutriFruitsRevenue;
    double powerChocRevenue;
    double powerRedcurRevenue;

    public double getNutriFruitsRevenue() {
        return nutriFruitsRevenue;
    }

    public void setNutriFruitsRevenue(double nutriFruitsRevenue) {
        this.nutriFruitsRevenue = nutriFruitsRevenue;
    }

    public double getNutriNutsRevenue() {
        return nutriNutsRevenue;
    }

    public void setNutriNutsRevenue(double nutriNutsRevenue) {
        this.nutriNutsRevenue = nutriNutsRevenue;
    }

    public double getPowerChocRevenue() {
        return powerChocRevenue;
    }

    public void setPowerChocRevenue(double powerChocRevenue) {
        this.powerChocRevenue = powerChocRevenue;
    }

    public double getPowerRedcurRevenue() {
        return powerRedcurRevenue;
    }

    public void setPowerRedcurRevenue(double powerRedcurRevenue) {
        this.powerRedcurRevenue = powerRedcurRevenue;
    }

    public double getRevenue() {
        return revenue;
    }

    public void setRevenue(double revenue) {
        this.revenue = revenue;
    }

    public Month getMonthOfYear() {
        return monthOfYear;
    }

    public void setMonthOfYear(Month monthOfYear) {
        this.monthOfYear = monthOfYear;
    }

    public int getYearOfCentury() {
        return yearOfCentury;
    }

    public void setYearOfCentury(int yearOfCentury) {
        this.yearOfCentury = yearOfCentury;
    }

    @Override
    public String childToString() {
        return "MonthlyRevenueEntity{" + "yearOfCentury=" + yearOfCentury + ", monthOfYear=" + monthOfYear + ", revenue=" + revenue + ", nutriNutsRevenue=" + nutriNutsRevenue + ", nutriFruitsRevenue=" + nutriFruitsRevenue + ", powerChocRevenue=" + powerChocRevenue + ", powerRedcurRevenue=" + powerRedcurRevenue + '}';
    }
    
}
